﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>编辑会员资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="__STATIC__heiseshop_admin/style/adminStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
 <div class="wrap">
  <div class="page-title">
    <span class="modular fl"><i class="edit_user"></i><em>编辑会员资料</em></span>
  </div>
  <form action="{:url('user_edit')}" method="post">
  <table class="list-style">
    <tr>
      <td style="text-align:right;">年龄：</td>
      <td><input type="text" class="textBox length-middle" name="age" value="{$res['age']}"/></td>
    </tr>
    <tr>
      <td style="text-align:right;">用户名：</td>
      <td><input type="text" class="textBox length-middle" name="user" value="{$res['user']}"/></td>
    </tr>
   <tr>
    <td style="width:15%;text-align:right;">会员昵称：</td>
    <td><input type="text" class="textBox length-middle" name="nickname" value="{$res['nickname']}"/></td>
   </tr>
   <tr>
    <td style="text-align:right;">电子邮件：</td>
    <td><input type="text" class="textBox length-middle" name="email" value="{$res['email']}"/></td>
   </tr>
   <tr>
    <td style="text-align:right;">手机号码：</td>
    <td><input type="text" class="textBox length-middle" name="phone" value="{$res['phone']}"/></td>
   </tr>
   <tr>
    <td style="text-align:right;">会员等级：</td>
    <td>
     <select class="textBox" name="group">
      {foreach name="group" id="value"}       
      <option value="{$value.id}" {if condition="$res['groupname'] eq $value.name"}selected{/if}>{$value.name}</option>
      {/foreach}
     </select>
    </td>
   </tr>
   <input type="hidden" name="id" value="{$Think.get.id}">
   <tr>
    <td style="text-align:right;"></td>
    <td><input type="submit" class="tdBtn" value="更新保存"/></td>
   </tr>
  </table>
</form>
 </div>
</body>
</html>